//--------------------------------------------------------------------
//     Author:Howe
//     Date: 2021-04-13 21:41:46 
//     Description:对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using System.Threading.Tasks;
using Kylin.Wiki.Core;
using Kylin.Wiki.Services;
using Kylin.Wiki.Model.Entity;
using Kylin.Wiki.Model.Api;
using System.Collections.Generic;
using Kylin.Wiki.Model.View;
using Kylin.Wiki.Model.Dto;

namespace Kylin.Wiki.IService
{
    /// <summary>
    /// IProject_DocumentServices
    /// </summary>	
    public interface IDocumentService : IServices<Document>
    {
        List<DocumentVM> GetList(int userId);
         
        ApiResult<DocumentViewVM> Get(int wikiId,int userId,string webRootPath);

        ApiResult<bool> Create(DocumentDTO documentDTO, string webRootPath);

        ApiResult<bool> Update(DocumentDTO documentDTO, string webRootPath); 

    }

}
